package com.ddh.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ddh.service.common.BaseEntity;
import com.ddh.service.domain.game.dto.GameDTO;
import com.ddh.service.domain.game.dto.GamePageDTO;
import com.ddh.service.domain.game.entity.Games;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ddh
 * @since 2025-01-16
 */
public interface IGamesService extends IService<Games> {

    /**
     * 添加游戏
     * @return
     */
    Boolean addGame(GameDTO gameDTO);

    /**
     * 分页查询游戏
     * @return
     */
    BaseEntity<Games> selectPageGame(GamePageDTO gamePageDTO);
}
